package cn.weiyang.controller;

/**
 * 全局错误代码
 * Created by Administrator on 2017/7/25.
 */
public enum Errcode {
    Gl_SYS_BUSY("001","系统繁忙"),
    Gl_SYS_NULL("101","空指针"),
    Gl_SYS_FORMAT_ERR("102","数字格式化异常"),
    Gl_SYS_ARG_INVALID("103","请求参数校验不通过"),
    USER_AUTH_ERR("103","用户密码不正确"),
    NO_SESSION("104","无会话");
    public String code;
    public String msg;

    private Errcode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
